package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.YbssAddress;
import com.ruoyi.system.domain.communityCodeVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 地址查看Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-08
 */
@Mapper
public interface YbssAddressMapper
{
    //获取街道及所属社区
    List<communityCodeVo> getBelongingCommunity();

    List<communityCodeVo> getstreetRoadLan(String communityCode);

    //获取地址坐标
    List<YbssAddress> getAddressIndex(String completeAddress);

    //查询全部
    List<YbssAddress> selectAll();

    //查询节点
    List<YbssAddress> getTreeIndex(String strid);

    //修改
    int updatelist(YbssAddress ybssAddress);

    int getdeleteById(String ybssId);

    List<YbssAddress> selectBybelongingCommunity();

    int insertdatalist(YbssAddress ybssAddress);
}
